Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.1/rocksndiamonds 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe3981700 (LWP 9111)]
[New Thread 0x7fffe3940700 (LWP 9112)]
[New Thread 0x7fffe1a9a700 (LWP 9113)]
rocksndiamonds: frame delay == 40 ms (max. 25 fps / 50 %)
rocksndiamonds: frame delay == 0 ms (maximum speed)
rocksndiamonds: frame delay == 30 ms (max. 33 fps / 66 %)
rocksndiamonds: frame delay == 20 ms (max. 50 fps / 100 %)
rocksndiamonds: frame delay == 30 ms (max. 33 fps / 66 %)
malloc_consolidate(): invalid chunk size

Thread 1 "rocksndiamonds" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff78a1535 in __GI_abort () at abort.c:79
#2  0x00007ffff78f8508 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7a0328d "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff78fec1a in malloc_printerr (str=str@entry=0x7ffff7a04b68 "malloc_consolidate(): invalid chunk size") at malloc.c:5341
#4  0x00007ffff78fef2a in malloc_consolidate (av=av@entry=0x7ffff7a3ac40 <main_arena>) at malloc.c:4471
#5  0x00007ffff7901a58 in _int_malloc (av=av@entry=0x7ffff7a3ac40 <main_arena>, bytes=bytes@entry=4096) at malloc.c:3695
#6  0x00007ffff790356a in __GI___libc_malloc (bytes=4096) at malloc.c:3057
#7  0x00007ffff78ee71c in __GI__IO_file_doallocate (fp=0x555559854d30) at filedoalloc.c:101
#8  0x00007ffff78fc700 in __GI__IO_doallocbuf (fp=fp@entry=0x555559854d30) at libioP.h:839
#9  0x00007ffff78fb988 in _IO_new_file_overflow (f=0x555559854d30, ch=-1) at fileops.c:752
#10 0x00007ffff78faa8f in _IO_new_file_xsputn (n=37, data=<optimized out>, f=0x555559854d30) at libioP.h:839
#11 _IO_new_file_xsputn (f=0x555559854d30, data=<optimized out>, n=37) at fileops.c:1204
#12 0x00007ffff78cf1fb in _IO_vfprintf_internal (s=0x555559854d30, format=0x5555557ce8b7 "%s\n\n", ap=ap@entry=0x7fffffffd810) at ../libio/libioP.h:839
#13 0x00007ffff78d7534 in __fprintf (stream=<optimized out>, format=<optimized out>) at fprintf.c:32
#14 0x00005555556e334b in SaveScore (nr=46) at files.c:8337
#15 0x0000555555687a0e in NewHiScore (level_nr=46) at game.c:4862
#16 0x0000555555687745 in GameEnd () at game.c:4785
#17 0x000055555568761d in GameWon () at game.c:4722
#18 0x00005555556a7dbd in GameActionsExt () at game.c:11371
#19 0x00005555556a8485 in GameActions () at game.c:11625
#20 0x000055555567c8b9 in HandleGameActions () at screens.c:8369
#21 0x0000555555646d83 in EventLoop () at events.c:359
#22 0x000055555563a1ca in main (argc=1, argv=0x7fffffffdb48) at main.c:7762
(gdb) # just respond to save override prompt at end of level
(gdb) k
Kill the program being debugged? (y or n) y
[Inferior 1 (process 9103) killed]
(gdb) r
Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.1/rocksndiamonds 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe3981700 (LWP 11371)]
[New Thread 0x7fffe3940700 (LWP 11372)]
[New Thread 0x7fffe1a99700 (LWP 11373)]
[Thread 0x7fffe3940700 (LWP 11372) exited]
[Thread 0x7fffe3981700 (LWP 11371) exited]
[Thread 0x7fffe1a99700 (LWP 11373) exited]
[Inferior 1 (process 11369) exited normally]
(gdb) r
Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.1/rocksndiamonds 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe3981700 (LWP 11482)]
[New Thread 0x7fffe3940700 (LWP 11483)]
[New Thread 0x7fffe1a99700 (LWP 11484)]
[Thread 0x7fffe3940700 (LWP 11483) exited]
[Thread 0x7fffe3981700 (LWP 11482) exited]
[Thread 0x7fffe1a99700 (LWP 11484) exited]
[Inferior 1 (process 11479) exited normally]
(gdb) # above bt, high score was not kept, tape save done, level completion status done
(gdb) r
Starting program: /media/Environ/Compile/rocksndiamonds-4.1.4.1/rocksndiamonds 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe3981700 (LWP 11592)]
[New Thread 0x7fffe3940700 (LWP 11593)]
[New Thread 0x7fffe1a99700 (LWP 11595)]
rocksndiamonds: frame delay == 60 ms (max. 16 fps / 33 %)
rocksndiamonds: frame delay == 40 ms (max. 25 fps / 50 %)
rocksndiamonds: frame delay == 125 ms (max. 8 fps / 16 %)
rocksndiamonds: frame delay == 60 ms (max. 16 fps / 33 %)
corrupted double-linked list

Thread 1 "rocksndiamonds" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff78a1535 in __GI_abort () at abort.c:79
#2  0x00007ffff78f8508 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff7a0328d "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff78fec1a in malloc_printerr (str=str@entry=0x7ffff7a01393 "corrupted double-linked list") at malloc.c:5341
#4  0x00007ffff7902231 in _int_malloc (av=av@entry=0x7ffff7a3ac40 <main_arena>, bytes=bytes@entry=24) at malloc.c:3931
#5  0x00007ffff79041a2 in __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at malloc.c:3428
#6  0x0000555555713a90 in checked_calloc (size=24) at misc.c:1254
#7  0x0000555555705b88 in SaveSnapshotBuffer (snapshot_buffers=0x7fffffffd928, buffer=0x55555768de60 <TapeTime>, size=4) at snapshot.c:36
#8  0x00005555556b3a50 in SaveEngineSnapshotBuffers () at game.c:15312
#9  0x00005555556b3df3 in SaveEngineSnapshotSingle () at game.c:15380
#10 0x00005555556ed824 in TapeQuickSave () at tape.c:1023
#11 0x000055555564a4ae in HandleKey (key=1073741891, key_status=1) at events.c:2241
#12 0x0000555555648c63 in HandleKeyEvent (event=0x7fffffffd9f0) at events.c:1462
#13 0x0000555555646b84 in HandleEvents () at events.c:249
#14 0x0000555555646d67 in EventLoop () at events.c:348
#15 0x000055555563a1ca in main (argc=1, argv=0x7fffffffdb48) at main.c:7762
(gdb) # just tried to save tape
